﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace oceanho.webapi.factory.Tests.Entity
{

    /// <summary>
    /// 定义一个学生基础信息类
    /// </summary>
    public class Student
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public List<Course> Courses { get; set; }
    }

    /// <summary>
    /// 定义一个学生课程信息类
    /// </summary>
    public class Course
    {
        public int ID { get; set; }
        public string Name { get; set; }
    }
}
